<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<!-- <audio src="bgsound.mp3" autoplay="autoplay" controls loop="-1"></audio> -->
	为了浏览器兼容，我们需要做三种声音文件 ogg mp3 wav
	<audio controls autoplay>
		<source src="bgsound.mp3">
		<source src="music.ogg">
		您的浏览器不支持播放声音
	</audio>
</body>
</html>